<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/BasicData/tpl/print.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">
                        <div class="basic-information">
                            <div class="layui-form-left">
                                <%--  左边表单--%>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">客户简称</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="abbreviation" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">业务员</label>
                                        <div class="layui-input-inline">
                                           <%-- <select name="salesman" lay-verify="required" lay-search="">
                                                <option value="">直接选择或搜索选择</option>
                                                <option value="1">业务员</option>
                                            </select>--%>
                                               <input type="text" name="salesman"  readonly="true" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">客户编码</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="code" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">客户类型</label>
                                        <div class="layui-input-inline">
                                            <select name="type" lay-verify="required" lay-search="">
                                               <%-- <option value="">直接选择或搜索选择</option>
                                                <option value="1">客户类型</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-csstext">
                                    <label class="layui-form-label">客户名称</label>
                                    <div class="layui-input-inline">
                                        <textarea name="name" placeholder="请输入内容" class="layui-textarea"></textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-csstext">
                                    <label class="layui-form-label">客户地址</label>
                                    <div class="layui-input-inline">
                                        <textarea name="address" placeholder="请输入内容" class="layui-textarea"></textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">国家/地区</label>
                                        <div class="layui-input-inline">
                                            <select name="country" lay-verify="required" lay-search="">
                                              <%--  <option value="">直接选择或搜索选择</option>
                                                <option value="1">国家</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">港口/省份</label>
                                        <div class="layui-input-inline">
                                            <select name="province" lay-verify="required" lay-search="">
                                              <%--  <option value="">直接选择或搜索选择</option>
                                                <option value="1">港口/省份</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">城市</label>
                                        <div class="layui-input-inline">
                                          <%--  <input type="text" name="city" lay-verify="required" autocomplete="off" class="layui-input">--%>
                                              <select name="city" lay-search=""> </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">邮编</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="postcode" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">电话</label>
                                        <div class="layui-input-inline">
                                            <input type="tel" name="phone" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">账期</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="accountPeriod" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">开户银行</label>
                                        <div class="layui-input-inline">
                                            <select name="bank" lay-verify="required" lay-search="">
                                               <%-- <option value="">直接选择或搜索选择</option>
                                                <option value="1">开户行</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">银行账户</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="bankaccount" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">等级</label>
                                        <div class="layui-input-inline">
                                            <select name="level" lay-verify="required" lay-search="">
                                               <%-- <option value="">直接选择或搜索选择</option>
                                                <option value="1">level</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">主营产品</label>
                                        <div class="layui-input-inline">
                                            <select name="mainBusiness" lay-verify="required" lay-search="">
                                               <%-- <option value="">直接选择或搜索选择</option>
                                                <option value="1">主营产品</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">客户来源</label>
                                        <div class="layui-input-inline">
                                            <select name="sourceOfCustomers" lay-verify="required" lay-search="">
                                                <%--<option value="">直接选择或搜索选择</option>
                                                <option value="1">来源</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">业务类型</label>
                                        <div class="layui-input-inline">
                                            <select name="businessType" lay-verify="required" lay-search="">
                                              <%--  <option value="">直接选择或搜索选择</option>
                                                <option value="1">类型</option>--%>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">主页</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="homepage" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">跟进周期(天)</label>
                                        <div class="layui-input-inline">
                                            <input type="number" name="followUpPeriod" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">SWIFT CODE</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="swiftcode" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">快寄到付账号</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="paymentAccountNo" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">快寄地址</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="expressAddress" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                <%--<div class="layui-form-item zdy-item-css">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">客户级别</label>
                                        <div class="layui-input-inline">
                                            <input type="text" name="customerlevel" lay-verify="required" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                </div>--%>
                                <%--  左边表单end--%>
                            </div>
                            <%--  右边表单--%>
                            <div class="layui-form-right">
                                <div class="layui-form-item">
                                    <div class="layui-col-md12">
                                        <label class="layui-form-label">跟进阶段</label>
                                        <div class="layui-col-md3">
                                            <select name="status" lay-verify="required" lay-search="">
                                               <%-- <option value="">跟进阶段</option>
                                                <option value="1">layer</option>--%>
                                            </select>
                                        </div>
                                        <%--<label class="layui-form-label">审批状态：草稿</label>--%>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-col-md12">
                                        <label class="layui-form-label">审批状态</label>
                                        <div class="layui-col-md3">
                                            <select name="spstatus" lay-search="">
                                               <%-- <option value="0">草稿</option>
                                                <option value="1">审批中</option>--%>
                                            </select>
                                        </div>
                                        <%--<label class="layui-form-label">审批状态：草稿</label>--%>
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-imgsc">
                                    <div class="userimgdiv">
                                        <img src="statics/images/layui-logo.jpg" id="userphotos" class="form-right-img"/>
                                    </div>
                                </div>
                                <div class="layui-form-item zdy-item-csstext">
                                    <label class="layui-form-label" style="min-width: 30px;width:30px">备注</label>
                                    <div class="layui-input-inline">
                                        <textarea name="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <table class="layui-table" id="customerselect" lay-filter="customertable"></table>

                        <%--底部按钮--%>
                        <div class="padding">
                            <div class="layui-col-md12 text-right">
                                <a type="button" class="layui-btn" id="print">打印</a>
                                <a type="button" class="layui-btn layui-btn-primary" id="shutdown">关闭</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/BasicData/tpl/print.js"></script>